// 搜索相关的接口
import request from "@/utils/request.js";

// 获取联想内容接口
export const getThinkContent = keyword => {
  return request({
    method: "GET",
    url: "/app/v1_0/suggestion",
    params: {
      q: keyword
    }
  });
};

// 获取搜索结果
export const searchContent = obj => {
  return request({
    method: "GET",
    url: "/app/v1_0/search",
    params: obj
  });
};
